Device tree driver basics done#30
Merged
Merged
Conversation
Implements basic device tree functions for outside programs, all underlying logic implemented, untested
Fixed Cmake issues, fixed compilation errors, added a dedicated dtree example for testing
Basic device tree operations work, as shown with the example uart search
Collaborator
Author
|
Uart included in package |
Closed
qbojj
requested changes
May 27, 2025
qbojj
requested changes
May 27, 2025
That includes actual null pointers, corrected the location of headers, some formatting, unnecessary copying of data, moved functions to more appropriate places, additional failsafes, and some additional access features
Collaborator
Author
|
New version, numerous improvements |
frogrammer9
requested changes
May 29, 2025
GoscZnickiem
requested changes
May 29, 2025
qbojj
requested changes
May 31, 2025
9212d26 to
6f2b00b
Compare
Collaborator
Author
|
I think that's everything done v2 |
qbojj
requested changes
Jun 1, 2025
f12e975 to
4faa27a
Compare
Collaborator
Author
|
Last @qbojj comments addressed, also improved some debug configurations |
GoscZnickiem
requested changes
Jun 1, 2025
GoscZnickiem
left a comment
Collaborator
There was a problem hiding this comment.
I won't release you just yet
frogrammer9
previously approved these changes
Jun 1, 2025
frogrammer9
left a comment
Contributor
There was a problem hiding this comment.
Only nitpicks other then that LGTM.
frogrammer9
approved these changes
Jun 1, 2025
GoscZnickiem
approved these changes
Jun 1, 2025
frogrammer9
added a commit
to frogrammer9/BigOS
that referenced
this pull request
Sep 19, 2025
Device tree driver basics done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Basic implementation of a device tree parser/driver. It validates the FDT header, walks through the structure block recursively, and builds a tree of nodes and properties. Currently, values can be read as 32- or 64-bit integers.
Memory management is handled using a simple arena allocator. The parser is able to locate the UART node and read its base address correctly.